package creationPattern.Factory.Factory_02.entity;

import java.util.Map;

/**
 * 中奖信息实体类
 */
public class AwardInfo {
    private String uId;
    private Integer awardType; // 奖品类型 1-打折券 2-优酷会员 3-小礼品
    private String awardNumber; // 奖品编号
    private Map<String,String> extMap; // 额外信息

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public Integer getAwardType() {
        return awardType;
    }

    public void setAwardType(Integer awardType) {
        this.awardType = awardType;
    }

    public String getAwardNumber() {
        return awardNumber;
    }

    public void setAwardNumber(String awardNumber) {
        this.awardNumber = awardNumber;
    }

    public Map<String, String> getExtMap() {
        return extMap;
    }

    public void setExtMap(Map<String, String> extMap) {
        this.extMap = extMap;
    }

    @Override
    public String toString() {
        return "AwardInfo{" +
                "uId='" + uId + '\'' +
                ", awardType=" + awardType +
                ", awardNumber='" + awardNumber + '\'' +
                ", extMap=" + extMap +
                '}';
    }
}
